/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jprojetopharmalink;

/**
 *
 * @author Rodrigo Toma
 */
public class Cript {
    
    
    
    public String SetCript(String imp){
        
        int calc = (Integer.parseInt(imp) * 66) + 99;
             
        
        return  String.valueOf(calc);
    }
    
    public String GetDecript(String imp){
        int calc = (Integer.parseInt(imp) -99) / 66;
             
        
        return  String.valueOf(calc);
    }
}
